package com.itheima.pojo;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * product实体类
 * @author 
 *
 */
@Table(name="product")
public class Product implements Serializable {

	@Id
	private Integer id;//id


	
	private Integer categoryId;//category_id
	private String name;//name
	private Integer score;//星级
	private Integer money;//money
	private String timeScpe;//开店时间存json
	private Integer addressId;//address_id
	private String images;//images

	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public Integer getScore() {
		return score;
	}
	public void setScore(Integer score) {
		this.score = score;
	}

	public Integer getMoney() {
		return money;
	}
	public void setMoney(Integer money) {
		this.money = money;
	}

	public String getTimeScpe() {
		return timeScpe;
	}
	public void setTimeScpe(String timeScpe) {
		this.timeScpe = timeScpe;
	}

	public Integer getAddressId() {
		return addressId;
	}
	public void setAddressId(Integer addressId) {
		this.addressId = addressId;
	}

	public String getImages() {
		return images;
	}
	public void setImages(String images) {
		this.images = images;
	}



}
